import React, { Component } from 'react'
import Son from './Son'
export default class Far extends Component {
  constructor(props) {
    super(props)
    console.log(this.props)
  }
  render() {
    // this.props.money = '1块钱'
    // this.props.obj.name = 'ls'
    // console.log(this.props)
    return (
      <div>
        Far
        <hr />
        {/* 渲染标签 */}
        {this.props.xxx}
        {/* 渲染组件 */}
        <this.props.yyy></this.props.yyy>
        {/* 渲染组件实例 */}
        {this.props.zzz}
        <hr />
        <Son money={this.props.money}></Son>
      </div>
    )
  }
}
